<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('log_fight/copy/flexigrid') ?>',
                    colModel: 
                    [
						{display: '<?= translate('LOG_FIGHT_ID') ?>', name: 'id', width: '100'},
						{display: '<?= translate('LOG_FIGHT_SERVERID') ?>', name: 'server_id', width: '100'},
						{display: '<?= translate('LOG_FIGHT_ROLEID') ?>', name: 'role_id', width: '100'},
						{display: '<?= translate('LOG_FIGHT_ROLENAME') ?>', name: 'rolename', width: '100'},
						{display: '<?= translate('LOG_FIGHT_LEVEL') ?>', name: 'role_level', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_COPYID') ?>', name: 'copy_id', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_FIRST') ?>', name: 'first', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_RESULT') ?>', name: 'result', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_FIGHTVALUE') ?>', name: 'fightvalue', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_COSTTIME') ?>', name: 'cost_time', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_ISSWEPT') ?>', name: 'is_swept', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_ADDEXP') ?>', name: 'add_exp', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_ADDGOLD') ?>', name: 'add_gold', width: '100'},
						{display: '<?= translate('LOG_OBJECT_COPY_REWARD') ?>', name: 'reward', width: '300'},
						{display: '<?= translate('LOG_FIGHT_VIPLV') ?>', name: 'viplv', width: '100'},
						{display: '<?= translate('LOG_FIGHT_OPERATIONTIME') ?>', name: 'operation_time', width: '150'},
                    ],
		    		buttons: [{name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},,{separator: true}],
                }));                
            });
        </script>
    </body>
</html>